package com.example.big_orange2.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.big_orange2.entity.lockrule;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface lockruleMapper extends BaseMapper<lockrule> {
    @Select("select depositpermit from lockrules where lockclassid in (select lockclassid from sharelocks where sharelockid =#{sharelockid})")
    float getdeposit(int sharelockid);
}